﻿#region License statement
// NJamb, a specification and delta-specification DSL
// Copyright (c) 2010-2011, Mark Knell
// Published under the MIT License; all other rights reserved
#endregion

#region using...
using System;
using JetBrains.Annotations;
#endregion

namespace NJamb
{
	public interface IExperiment<out TSubject>
	{
		bool HasRun { get; }
		bool Try([NotNull] Action<TSubject> action, [NotNull] Action<string> onFail, Action<string> onSuccess = null);
	}
}
